#pragma once

#include <iostream>
#include <string>

using namespace std;

class Car
{
private:
	string brand;
	int year;
	double price;
public:
	// Konstruktor
	Car(void);
	Car(string b, int y, int p);
	~Car(void);

	void ReadFromConsole();
	void WriteToConsole();

	void SetBrand(string b) { brand = b; }
	void SetYear(int y) { year = y; }
	void SetPrice(int p) { price = p; }

	string GetBrand() { return brand; }
	int GetYear() { return year; }
	int GetPrice() { return price; }
};

